package edu.wfu.preparedDishes.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import edu.wfu.preparedDishes.commodity.entity.MerchantEntity;
import edu.wfu.preparedDishes.common.utils.PageUtils;
import java.util.Map;

/**
 * 商家表;
 *
 * @author hero_miracle
 * @email hero_miracle@gmail.com
 * @date 2023-11-22 13:06:46
 */
public interface MerchantService extends IService<MerchantEntity> {

    PageUtils queryPage(Map<String, Object> params);


    void add(MerchantEntity merchant);

    MerchantEntity getMerchantBySpuId(String spuId);

    MerchantEntity getMerchantByUserId(Long id);

}

